//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.xyy.kingdeejdy.pojo.pop;

import java.io.Serializable;

public class PopErpSkuStockV2Dto implements Serializable {
    private static final long serialVersionUID = -2964079204437743961L;
    private Long id;
    private String barcode;
    private String erpCode;
    private String oldestProDate;
    private String newProDate;
    private String nearEffect;
    private String farEffect;
    private Integer availableQyt;
    private Boolean expiredOffShelf;
    private Boolean expired;
    private Long csuid;

    public PopErpSkuStockV2Dto() {
    }

    public Long getId() {
        return this.id;
    }

    public String getBarcode() {
        return this.barcode;
    }

    public String getErpCode() {
        return this.erpCode;
    }

    public String getOldestProDate() {
        return this.oldestProDate;
    }

    public String getNewProDate() {
        return this.newProDate;
    }

    public String getNearEffect() {
        return this.nearEffect;
    }

    public String getFarEffect() {
        return this.farEffect;
    }

    public Integer getAvailableQyt() {
        return this.availableQyt;
    }

    public Boolean getExpiredOffShelf() {
        return this.expiredOffShelf;
    }

    public Boolean getExpired() {
        return this.expired;
    }

    public Long getCsuid() {
        return this.csuid;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public void setErpCode(String erpCode) {
        this.erpCode = erpCode;
    }

    public void setOldestProDate(String oldestProDate) {
        this.oldestProDate = oldestProDate;
    }

    public void setNewProDate(String newProDate) {
        this.newProDate = newProDate;
    }

    public void setNearEffect(String nearEffect) {
        this.nearEffect = nearEffect;
    }

    public void setFarEffect(String farEffect) {
        this.farEffect = farEffect;
    }

    public void setAvailableQyt(Integer availableQyt) {
        this.availableQyt = availableQyt;
    }

    public void setExpiredOffShelf(Boolean expiredOffShelf) {
        this.expiredOffShelf = expiredOffShelf;
    }

    public void setExpired(Boolean expired) {
        this.expired = expired;
    }

    public void setCsuid(Long csuid) {
        this.csuid = csuid;
    }

    @Override
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof PopErpSkuStockV2Dto)) {
            return false;
        } else {
            PopErpSkuStockV2Dto other = (PopErpSkuStockV2Dto) o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label143:
                {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label143;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label143;
                    }

                    return false;
                }

                Object this$barcode = this.getBarcode();
                Object other$barcode = other.getBarcode();
                if (this$barcode == null) {
                    if (other$barcode != null) {
                        return false;
                    }
                } else if (!this$barcode.equals(other$barcode)) {
                    return false;
                }

                Object this$erpCode = this.getErpCode();
                Object other$erpCode = other.getErpCode();
                if (this$erpCode == null) {
                    if (other$erpCode != null) {
                        return false;
                    }
                } else if (!this$erpCode.equals(other$erpCode)) {
                    return false;
                }

                label122:
                {
                    Object this$oldestProDate = this.getOldestProDate();
                    Object other$oldestProDate = other.getOldestProDate();
                    if (this$oldestProDate == null) {
                        if (other$oldestProDate == null) {
                            break label122;
                        }
                    } else if (this$oldestProDate.equals(other$oldestProDate)) {
                        break label122;
                    }

                    return false;
                }

                label115:
                {
                    Object this$newProDate = this.getNewProDate();
                    Object other$newProDate = other.getNewProDate();
                    if (this$newProDate == null) {
                        if (other$newProDate == null) {
                            break label115;
                        }
                    } else if (this$newProDate.equals(other$newProDate)) {
                        break label115;
                    }

                    return false;
                }

                Object this$nearEffect = this.getNearEffect();
                Object other$nearEffect = other.getNearEffect();
                if (this$nearEffect == null) {
                    if (other$nearEffect != null) {
                        return false;
                    }
                } else if (!this$nearEffect.equals(other$nearEffect)) {
                    return false;
                }

                Object this$farEffect = this.getFarEffect();
                Object other$farEffect = other.getFarEffect();
                if (this$farEffect == null) {
                    if (other$farEffect != null) {
                        return false;
                    }
                } else if (!this$farEffect.equals(other$farEffect)) {
                    return false;
                }

                label94:
                {
                    Object this$availableQyt = this.getAvailableQyt();
                    Object other$availableQyt = other.getAvailableQyt();
                    if (this$availableQyt == null) {
                        if (other$availableQyt == null) {
                            break label94;
                        }
                    } else if (this$availableQyt.equals(other$availableQyt)) {
                        break label94;
                    }

                    return false;
                }

                label87:
                {
                    Object this$expiredOffShelf = this.getExpiredOffShelf();
                    Object other$expiredOffShelf = other.getExpiredOffShelf();
                    if (this$expiredOffShelf == null) {
                        if (other$expiredOffShelf == null) {
                            break label87;
                        }
                    } else if (this$expiredOffShelf.equals(other$expiredOffShelf)) {
                        break label87;
                    }

                    return false;
                }

                Object this$expired = this.getExpired();
                Object other$expired = other.getExpired();
                if (this$expired == null) {
                    if (other$expired != null) {
                        return false;
                    }
                } else if (!this$expired.equals(other$expired)) {
                    return false;
                }

                Object this$csuid = this.getCsuid();
                Object other$csuid = other.getCsuid();
                if (this$csuid == null) {
                    if (other$csuid != null) {
                        return false;
                    }
                } else if (!this$csuid.equals(other$csuid)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof PopErpSkuStockV2Dto;
    }

    @Override
    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        result = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $barcode = this.getBarcode();
        result = result * 59 + ($barcode == null ? 43 : $barcode.hashCode());
        Object $erpCode = this.getErpCode();
        result = result * 59 + ($erpCode == null ? 43 : $erpCode.hashCode());
        Object $oldestProDate = this.getOldestProDate();
        result = result * 59 + ($oldestProDate == null ? 43 : $oldestProDate.hashCode());
        Object $newProDate = this.getNewProDate();
        result = result * 59 + ($newProDate == null ? 43 : $newProDate.hashCode());
        Object $nearEffect = this.getNearEffect();
        result = result * 59 + ($nearEffect == null ? 43 : $nearEffect.hashCode());
        Object $farEffect = this.getFarEffect();
        result = result * 59 + ($farEffect == null ? 43 : $farEffect.hashCode());
        Object $availableQyt = this.getAvailableQyt();
        result = result * 59 + ($availableQyt == null ? 43 : $availableQyt.hashCode());
        Object $expiredOffShelf = this.getExpiredOffShelf();
        result = result * 59 + ($expiredOffShelf == null ? 43 : $expiredOffShelf.hashCode());
        Object $expired = this.getExpired();
        result = result * 59 + ($expired == null ? 43 : $expired.hashCode());
        Object $csuid = this.getCsuid();
        result = result * 59 + ($csuid == null ? 43 : $csuid.hashCode());
        return result;
    }

    @Override
    public String toString() {
        return "PopErpSkuStockV2Dto(id=" + this.getId() + ", barcode=" + this.getBarcode() + ", erpCode=" + this.getErpCode() + ", oldestProDate=" + this.getOldestProDate() + ", newProDate=" + this.getNewProDate() + ", nearEffect=" + this.getNearEffect() + ", farEffect=" + this.getFarEffect() + ", availableQyt=" + this.getAvailableQyt() + ", expiredOffShelf=" + this.getExpiredOffShelf() + ", expired=" + this.getExpired() + ", csuid=" + this.getCsuid() + ")";
    }
}
